home *** CD-ROM | disk | FTP | other *** search
- ;==============================================================================================
- ; Internet Connection Wizard install script Win95
- ; Windows 95 version installs Scripting Self-Extractor in \windows\system.
- ;==============================================================================================
-
- [version]
- signature="$CHICAGO$"
- AdvancedINF=2.5, "%ERROR_WRONG_ADVPACK_VERSION%"
-
- [DefaultInstall]
- SmartReboot= N
- CustomDestination= CustInstDestSection
- DelFiles=DeleteICW
- DelDirs=DeleteICWDir
- CopyFiles=CopySYS, CopyOTHER, CopyHELP, Copy95Only
- AddReg=MSICW.RegEntries
- DelReg=MSICW.BadRegEntries
- RegisterOCXs=RegisterICWSection
- PerUserInstall=MSICW.Stub.Add
- UpdateInis=UPD.Links
- ComponentName=ICW
- PreRollback=Uninstall
- RunPostSetupCommands=MSICWPostSetupCommands:1
-
- [MSICWPostSetupCommands]
- rundll32 advpack.dll,LaunchINFSection %49400%\icw95.inf,MSInfInstall,3,n
-
- [MSInfInstall]
- CopyFiles=CopyINF
-
- [MSICW.Stub.Add]
- ComponentID=ICW_Win
- StubPath=rundll32.exe advpack.dll,LaunchINFSection %17%\icw95.inf,PerUserStub
- GUID={5A8D6EE0-3E18-11D0-821E-444553540000}
- IsInstalled=1
- Locale=%LOCALE_ICW%
-
- [PerUserStub]
- CustomDestination= CustInstDestSection
- UpdateInis=UPD.Links
-
- [Uninstall]
- PerUserInstall=MSICW.Stub.Remove
-
- [MSICW.Stub.Remove]
- ComponentID=ICW_Win
- StubPath=rundll32.exe advpack.dll,LaunchINFSection %17%\icw95.inf,PerUserRemove
- GUID={5A8D6EE0-3E18-11D0-821E-444553540000}
- IsInstalled=0
- Locale=%LOCALE_ICW%
-
- [PerUserRemove]
- ;CustomDestination= CustInstDestSection
- UpdateInis=UPD.Links.Remove
-
- ;==============================================================================================
- ; These are the directory specifications.
- ;==============================================================================================
- [CustInstDestSection]
- 49000,49001,49002,49003= ProgramFilesDir,5
- 49100,49101,49102,49103= IEFilesDir,7
- 49200,49201,49202,49203= MSICWFilesDir,5
- 49300,49301,49302,49303= OldICWDir,5
- 49400,49401,49402,49403= SourceDir
-
- [ProgramFilesDir]
- HKLM,"%KEY_PROGRAM_FILES%",'ProgramFilesDir',,"%24%"
-
- [IEFilesDir]
- HKLM,"%KEY_IEDIR%","Path","%IE_REQUIRED%",'%49001%\%IEDIR%'
-
- [MSICWFilesDir]
- HKLM,"%KEY_ICW%",,,'%49101%\%MSICWDIR%'
-
- [OldICWDir]
- HKLM,"%KEY_ICW%",,,"%49001%\%OLD_ICWDIR%"
-
- [DestinationDirs]
- CopyHELP = 18 ; LDID_HELP
- CopySYS = 11 ; LDID_SYS
- CopyINF = 17 ; LDID_INF
- Copy95Only = 11 ; LDID_SYS
- CopyOTHER = 49200
- DeleteICW = 49300
-
- ;==============================================================================================
- ; This is the RegisterOCXs section
- ;==============================================================================================
- [RegisterICWSection]
- %11%\inetcfg.dll
-
- ;==============================================================================================
- ; These are the File Copy sections.
- ;==============================================================================================
- ; ---------------------------------------------------------------------------------------------
- ; These are the files copied as part of the default install. They are put in C:\Windows\System
- ; ---------------------------------------------------------------------------------------------
- [Copy95Only]
- inet16.dll,,,32
- icfg95.dll,,,32
- icwscrpt.exe,,,32
- [CopySYS]
- inetcfg.dll,,,32
- isign32.dll,,,32
- icwdial.dll,,,32
- icwphbk.dll,,,32
- ; ---------------------------------------------------------------------------------------------
- ; These are the files copied as part of the default install. They are put in:
- ; <User Install Directory>\Internet Explorer\Connection Wizard
- ; ---------------------------------------------------------------------------------------------
- [CopyOTHER]
- icwconn1.exe,,,32
- icwconn2.exe,,,32
- inetwiz.exe,,,32
- isignup.exe,,,32
- icwdl.dll,,,32
- icwx25a.dun
- icwx25b.dun
- icwx25c.dun
- icwip.dun
- phone.icw
- state.icw
- msicw.isp
- msn.isp
- readme.txt
- support.icw
- ; ---------------------------------------------------------------------------------------------
- ; These are the files copied as part of the default install. They are put in C:\Windows\INF
- ; ---------------------------------------------------------------------------------------------
- [CopyINF]
- icw95.INF
- ; ---------------------------------------------------------------------------------------------
- ; These are the files copied as part of the default install. They are put in C:\Windows\Help
- ; ---------------------------------------------------------------------------------------------
- [CopyHELP]
- connect.hlp
- connect.cnt
-
- ;==============================================================================================
- ; These are the File Delete sections.
- ;==============================================================================================
- ; ---------------------------------------------------------------------------------------------
- ; These are the files deleted as part of the default install. This removes previous versions
- ; of the Internet Connection Wizard.
- ; ---------------------------------------------------------------------------------------------
- [DeleteICWDir]
- %49300%
-
- [DeleteICW]
- icwconn1.exe
- icwconn2.exe
- inetwiz.exe
- isignup.exe
- icwdl.dll
- icwx25a.dun
- icwx25b.dun
- icwx25c.dun
- icwip.dun
- phone.icw
- state.icw
- msicw.isp
- msn.isp
- support.icw
-
- ;==============================================================================================
- ; These are the Source sections which tell the setup engine where the appropriate files are.
- ;==============================================================================================
- [SourceDisksNames]
- 55="%ICWNAME%",icw95.cab,0
-
- [SourceDisksFiles]
- inet16.dll=55
- icfg95.dll=55
- icwscrpt.exe=55
- inetcfg.dll=55
- isign32.dll=55
- icwdial.dll=55
- icwphbk.dll=55
- icwconn1.exe=55
- icwconn2.exe=55
- inetwiz.exe=55
- isignup.exe=55
- icwdl.dll=55
- icwx25a.dun=55
- icwx25b.dun=55
- icwx25c.dun=55
- icwip.dun=55
- phone.icw=55
- state.icw=55
- msicw.isp=55
- msn.isp=55
- icw95.INF=55
- connect.hlp=55
- connect.cnt=55
- readme.txt=55
- support.icw=55
-
- ;==============================================================================================
- ; This creates the Start Menu links.
- ;==============================================================================================
- [UPD.Links]
- setup.ini, progman.groups,,"ICW11=""%PGMGRP%"""
- ; ICW item
- setup.ini, ICW11,,"""%PGMITEM_ICW%"",""%49200%\ICWCONN1.EXE"""
-
- ; Delete obsolete start menu items
- setup.ini, progman.groups,,"ICW10=""%PGMDEL%"""
- ; INETWIZ menu item
- setup.ini, ICW10,,"""%ITEMDEL_INETWIZ%""",,,
- ; old ICW menu item
- setup.ini, ICW10,,"""%ITEMDEL_GETON%""",,,
-
- [UPD.Links.Remove]
- setup.ini, progman.groups,,"ICW11=""%PGMGRP%"""
- ; ICW item
- setup.ini, ICW11,,"""%PGMITEM_ICW%"""
-
- ;==============================================================================================
- ; These are the Registry ADD sections.
- ;==============================================================================================
- ; ---------------------------------------------------------------------------------------------
- ; These are the registry entries for installation.
- [MSICW.RegEntries]
- ; File associations
- HKCR,.ins,,0,x-internet-signup
- HKCR,.ins,"Content Type",0,application/x-internet-signup
- HKCR,.isp,,0,x-internet-signup
- HKCR,.isp,"Content Type",0,application/x-internet-signup
- ; ---------------------------------------------------------------------------------------------
- ; MIME execution options
- HKCR,x-internet-signup,,0,"%INET_COMM_SETTINGS%"
- HKCR,x-internet-signup,EditFlags,1,00,00,00,00
- HKCR,x-internet-signup\Shell,,0,""
- HKCR,x-internet-signup\Shell\Open,EditFlags,1,01,00,00,00
- HKCR,x-internet-signup\Shell\Open\command,,0,""""%49201%\ISIGNUP.EXE""" %%1"
- HKCR,x-internet-signup\DefaultIcon,,0,"%49201%\ICWCONN1.EXE,0"
- ; ---------------------------------------------------------------------------------------------
- ; MIME database extensions
- HKCR,"MIME\Database\Content Type\application/x-internet-signup",Extension,0,.ins
- ; ---------------------------------------------------------------------------------------------
- ; Software Version
- HKLM,"%KEY_ICW%",Version,,"%Version%"
- HKLM,"%KEY_ICW%",InstallationDirectory,,"%49200%"
- ; ---------------------------------------------------------------------------------------------
- ; App Paths
- HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN1.EXE",,,"%49201%\ICWCONN1.EXE"
- HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN1.EXE","Path",,"%49201%;"
- HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN2.EXE",,,"%49201%\ICWCONN2.EXE"
- HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN2.EXE","Path",,"%49201%;"
- HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ISIGNUP.EXE",,,"%49201%\ISIGNUP.EXE"
- HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ISIGNUP.EXE","Path",,"%49201%;"
- HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\INETWIZ.EXE",,,"%49201%\INETWIZ.EXE"
- HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\INETWIZ.EXE","Path",,"%49201%;"
- ; ---------------------------------------------------------------------------------------------
- ; Release Product Information
- HKLM,"Software\Microsoft\Internet Connection Wizard","Release Product",,"IE"
- HKLM,"Software\Microsoft\Internet Connection Wizard","Release Product Version",,"4.0"
- ; ---------------------------------------------------------------------------------------------
- ; Uninstall command and minimum IE version
- HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\ICW","QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSectionEx %17%\icw95.inf,,,256"
- HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\ICW","RequiresIESysFile",,"4.71"
- ; ---------------------------------------------------------------------------------------------
- ; Default product code
- HKLM,"Software\Microsoft\Internet Connection Wizard","Default Product Code",,"IE4"
- ; ---------------------------------------------------------------------------------------------
- ; Delete these reg keys, no one uses them.
- [MSICW.BadRegEntries]
- HKCR,.ins,EditFlags
- HKCR,.isp,EditFlags
-
- [Strings]
- ;==============================================================================================
- ; Important - Be sure to place any localizable strings
- ; below the "Localization Border" Comment
- ;==============================================================================================
- KEY_ICW = "SOFTWARE\Microsoft\Internet Connection Wizard"
- KEY_OLD_ICW = "SOFTWARE\Microsoft\ICW"
- KEY_IEDIR = "SOFTWARE\Microsoft\IE4\Setup"
- KEY_PROGRAM_FILES = "SOFTWARE\Microsoft\Windows\CurrentVersion"
-
- VALUE_ICW_INSTALL = "InstallationDirectory"
- Version = "1.10"
- ICWNAME = "Internet Connection Wizard"
-
- ;==============================================================================================
- ; Localization Border
- ;
- ; No Strings above this line should be localized
- ; All strings below this line should be localized
- ;==============================================================================================
- ProgramFiles = "Program Files"
- IEDIR = "Internet Explorer"
- OLD_ICWDIR = "ICW-Internet Connection Wizard"
- MSICWDIR = "Connection Wizard"
-
- ProgramFiles_SFN = "Progra~1" ; first 6 chars of Program Files, + "~1"
- IEDIR_SFN = "Intern~1"
- OLD_ICWDIR_SFN = "ICW-In~1"
- ICWDIR_SFN = "Connec~1"
-
- ProgramFiles_SFN_OEM = "Progra~1" ; first 6 chars of Program Files, + "~1" - in OEM codepage (not ANSI)
- IEDIR_SFN_OEM = "Intern~1"
- OLD_ICWDIR_SFN_OEM = "ICW-In~1" ; uses OEM codepage (not ANSI)
- ICWDIR_SFN_OEM = "Connec~1" ; uses OEM codepage (not ANSI)
-
- ;Program Folder and item names
- PGMGRP = "Internet Explorer"
- PGMITEM_ICW = "Connection Wizard"
- PGMDEL = "Accessories\Internet Tools"
- ITEMDEL_INETWIZ = "Internet Setup Wizard"
- ITEMDEL_GETON = "Get on the Internet"
-
- ;Prompt for Destination
- INSTALL_DIR_PROMPT = "Please enter the directory in which to install the Internet Connection Wizard"
-
- ;Error Messages
- ERROR_ENGINE_NOTFOUND = "Cannot find the requried setup engine. Aborting..."
- ERROR_WRONG_ADVPACK_VERSION = "You need a newer version of Advpack.dll"
- IE_REQUIRED = "You must have Internet Explorer v4.0 installed to run this package!"
-
- ;Friendly name of MIME type
- INET_COMM_SETTINGS = "Internet Communication Settings"
-
- LOCALE_ICW = "EN"